Total Complexity | 18 |
Dependencies | 0 |
Dependents | 2 |
Total lines | 123 |
Lines of code | 76 |
Logical lines of code | 46 |
Comment lines | 11 |
Methods | 5 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
check_rate_limit() | 53 | 5 | 21 | |
check_limit() | 55 | 4 | 20 | |
increment() | 58 | 3 | 14 | |
get_transient_remaining_time() | 61 | 3 | 12 | |
increment_attempt() | 63 | 3 | 9 |